<template>
	<view>
		<button type="primary" @click="gotoOtgCameraPage">跳转OtgCameraActivity</button>
		<button type="primary" @click="gotoTestPage">跳转TestActivity</button>
	</view>
</template>

<script>
	// 获取 module
	var testModule = uni.requireNativePlugin("unicamera-module")
	//const modal = uni.requireNativePlugin('modal');
	export default {
		data() {
			return {

			}
		},
		methods: {
			gotoOtgCameraPage() {
				testModule.gotoOtgCameraPage();
			},
			gotoTestPage() {
				testModule.gotoTestPage();
			}
		}
	}
</script>

<style>

</style>